import dayjs from "dayjs";
export const menHkUpColumns = [
    {
        prop: "dwMenId",
        label: "客户人员ID",
        width: "100px",
    },

    {
        prop: "bgTime",
        label: "变更日期",
        width: "80px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },

    {
        prop: "bgConfirmTime",
        label: "变更生效年月",
        width: "120px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "oldHkFlag",
        label: "原户口性质",
        width: "100px",
    },
    {
        prop: "newHkFlag",
        label: "新户口性质",
        width: "100px",
    },

    {
        prop: "repYm",
        label: "报表年月",
        width: "80px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "makerStaffId",
        label: "操作人ID",
        width: "80px",
    },
    {
        prop: "makerStaffTruename",
        label: "操作员姓名",
        width: "100px",
    },
    {
        prop: "state",
        label: "申报状态",
        width: "80px",
    },

    {
        prop: "submitTime",
        label: "申报时间",
        width: "80px",
        render(row: any) {
          return h(
            "div",
            {
              style: {
                color: "#666",
                fontSize: "12px",
              },
            },
            dayjs(row.date).format("YYYY-MM-DD HH:mm")
          );
        },
    },
    {
        prop: "submitInfo",
        label: "申报反馈说明",
        width: "120px",
    }
];
